var user = {
    updatePassword:'update y_user set password=? where id=?',
    queryPassword:'select * from y_user where id=? AND password=?',
    login:"select id,username,password,level,userInfoId,regisTime from y_user where username = ? and password = ?",
    checkUsername:"select username from y_user where username = ?",
    add:"insert into y_user(username,password,userInfoId,regisTime,level) values(?,?,?,?,?)",
    del:"delete from y_user where userInfoId = ? "
};

module.exports = user;
/**
 * Created by Administrator on 2015/8/6.
 */
